﻿using Fetches.Fetch.Dto;
using Fetches.Fetch.PagePool.Consume;

namespace Fetches.Process.Processor
{
    public abstract class ContentOnlyProcessor : AbstractPageProcessor
    {
        public override void Process(ResponsePage page)
        {
            if (!page.Request.IndexPage)
            {
                ProcessContentPage(page);
            }
        }

        public abstract void ProcessContentPage(ResponsePage page);
    }
}
